import request from '@/utils/request'

export function getList(params) {
  return request({
    url: '/admin/company/getList',
    method: 'get',
    params,
  })
}

export function getAllList(params) {
  return request({
    url: '/admin/company/getAllList',
    method: 'get',
    params,
  })
}
export function doEdit(data) {
  return request({
    url: '/admin/company/doEdit',
    method: 'post',
    data,
  })
}
export function getEmployeeNumsInDateRange(data) {
  return request({
    url: '/admin/company/getEmployeeNumsInDateRange',
    method: 'post',
    data,
  })
}
export function getPlatformStatusInDateRange(data) {
  return request({
    url: '/admin/company/getPlatformStatusInDateRange',
    method: 'post',
    data,
  })
}
export function handleGoTest(data) {
  return request({
    url: '/public/test',
    method: 'post',
    data,
  })
}

export function doDelete(data) {
  return request({
    url: '/admin/company/doDelete',
    method: 'post',
    data,
  })
}

export function getEmployeeList(data) {
  return request({
    url: '/admin/company/getEmployeeList',
    method: 'post',
    data,
  })
}

export function uploadPdf(data) {
  return request({
    url: '/admin/company/uploadPdf',
    method: 'post',
    data,
  })
}
